package com.bdqn.zhang.service.impl;

import com.bdqn.zhang.dao.VivoglyDao;
import com.bdqn.zhang.dao.impl.VivoglyDaoimpl;
import com.bdqn.zhang.pojo.Memberinfo;
import com.bdqn.zhang.pojo.Vivogly;
import com.bdqn.zhang.service.VivoglyService;

import java.util.List;

public class VivoglyServiceimpl implements VivoglyService {
    VivoglyDao vivoglyDao = new VivoglyDaoimpl();

    public List<Vivogly> getAll(int from, int pageSixe) {
        return vivoglyDao.getAll(from, pageSixe);
    }

    @Override
    public int getCount() {
        return vivoglyDao.getCount();
    }
    @Override
    public int gai(Vivogly vivogly) {
        return vivoglyDao.gai(vivogly);
    }

    @Override
    public int del(String id) {
        return vivoglyDao.del(id);
    }

    @Override
    public int add(Vivogly vivogly) {
        return vivoglyDao.add(vivogly);
    }

    @Override
    public int edits(Vivogly vivogly) {
        return vivoglyDao.edits(vivogly);
    }

    @Override
    public List<Vivogly> dan(String name, int from, int pageSixe) {
        return vivoglyDao.dan(name, from, pageSixe);
    }

    @Override
    public int mhdan(String name) {
        return vivoglyDao.mhdan(name);
    }

    @Override
    public List<Vivogly> ztcx(int name, int from, int pageSixe) {
        return vivoglyDao.ztcx(name, from, pageSixe);
    }

    @Override
    public int mhztcx(int name) {
        return vivoglyDao.mhztcx(name);
    }

    @Override
    public int mhztcxs(int name) {
        return vivoglyDao.mhztcxs(name);
    }

    @Override
    public int dlcx(String yh, String mm) {
        return vivoglyDao.dlcx(yh, mm);
    }

    @Override
    public List<Vivogly> czl(String name) {
        return vivoglyDao.czl(name);
    }

    @Override
    public String ctx(String name) {
        return vivoglyDao.ctx(name);
    }


    @Override
    public int checkNameUnique(String name) {
        return vivoglyDao.checkNameUnique(name);
    }

    @Override
    public List<Vivogly> yhmcx(String name, int from, int pageSixe) {
        return vivoglyDao.yhmcx(name,from,pageSixe);
    }

    @Override
    public List<Vivogly> xbcx(String name, int from, int pageSixe) {
        return vivoglyDao.xbcx(name,from,pageSixe);
    }


}
